package com.relytosoft.mizar.media.common.entity.es.structure;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonInclude;

import java.util.Date;

/**
 * @author Jierry
 * @version 2022/5/9.
 */

@JsonInclude(JsonInclude.Include.NON_NULL)
public class StructureBaseDto {

    protected String imageId;
    private String recordId;
    private String deviceId;
    private String leftTopX;
    private String leftTopY;
    private String rightBtmX;
    private String rightBtmY;
    private String image;
    private String thumb;
    private Long appearTime;
    private Long disAppearTime;
    private Long markTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date markDate;
    private Integer startFrameIndex;
    private Integer endFrameIndex;
    private Integer frameIndex;
    private Integer pictureWidth;
    private Integer pictureHeight;
    private Long position;
    private String taskId;
    private String taskType;
    private String appKey;
    private String dataType;
    private String objectType;

    public String getRecordId() {
        return recordId;
    }

    public void setRecordId(String recordId) {
        this.recordId = recordId;
    }

    public String getDeviceId() {
        return deviceId;
    }

    public void setDeviceId(String deviceId) {
        this.deviceId = deviceId;
    }

    public String getLeftTopX() {
        return leftTopX;
    }

    public void setLeftTopX(String leftTopX) {
        this.leftTopX = leftTopX;
    }

    public String getLeftTopY() {
        return leftTopY;
    }

    public void setLeftTopY(String leftTopY) {
        this.leftTopY = leftTopY;
    }

    public String getRightBtmX() {
        return rightBtmX;
    }

    public void setRightBtmX(String rightBtmX) {
        this.rightBtmX = rightBtmX;
    }

    public String getRightBtmY() {
        return rightBtmY;
    }

    public void setRightBtmY(String rightBtmY) {
        this.rightBtmY = rightBtmY;
    }

    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image;
    }

    public String getThumb() {
        return thumb;
    }

    public void setThumb(String thumb) {
        this.thumb = thumb;
    }

    public Long getAppearTime() {
        return appearTime;
    }

    public void setAppearTime(Long appearTime) {
        this.appearTime = appearTime;
    }

    public Long getDisAppearTime() {
        return disAppearTime;
    }

    public void setDisAppearTime(Long disAppearTime) {
        this.disAppearTime = disAppearTime;
    }

    public Long getMarkTime() {
        return markTime;
    }

    public void setMarkTime(Long markTime) {
        this.markTime = markTime;
    }

    public Date getMarkDate() {
        return markDate;
    }

    public void setMarkDate(Date markDate) {
        this.markDate = markDate;
    }

    public Integer getStartFrameIndex() {
        return startFrameIndex;
    }

    public void setStartFrameIndex(Integer startFrameIndex) {
        this.startFrameIndex = startFrameIndex;
    }

    public Integer getEndFrameIndex() {
        return endFrameIndex;
    }

    public void setEndFrameIndex(Integer endFrameIndex) {
        this.endFrameIndex = endFrameIndex;
    }

    public Integer getFrameIndex() {
        return frameIndex;
    }

    public void setFrameIndex(Integer frameIndex) {
        this.frameIndex = frameIndex;
    }

    public Integer getPictureWidth() {
        return pictureWidth;
    }

    public void setPictureWidth(Integer pictureWidth) {
        this.pictureWidth = pictureWidth;
    }

    public Integer getPictureHeight() {
        return pictureHeight;
    }

    public void setPictureHeight(Integer pictureHeight) {
        this.pictureHeight = pictureHeight;
    }

    public Long getPosition() {
        return position;
    }

    public void setPosition(Long position) {
        this.position = position;
    }

    public String getTaskId() {
        return taskId;
    }

    public void setTaskId(String taskId) {
        this.taskId = taskId;
    }

    public String getTaskType() {
        return taskType;
    }

    public void setTaskType(String taskType) {
        this.taskType = taskType;
    }

    public String getAppKey() {
        return appKey;
    }

    public void setAppKey(String appKey) {
        this.appKey = appKey;
    }

    public String getDataType() {
        return dataType;
    }

    public void setDataType(String dataType) {
        this.dataType = dataType;
    }

    public String getObjectType() {
        return objectType;
    }

    public void setObjectType(String objectType) {
        this.objectType = objectType;
    }

    public String getImageId() {
        return imageId;
    }

    public void setImageId(String imageId) {
        this.imageId = imageId;
    }

    @Override
    public String toString() {
        return "StructureBaseDto{" +
                "recordId='" + recordId + '\'' +
                ", deviceId='" + deviceId + '\'' +
                ", leftTopX='" + leftTopX + '\'' +
                ", leftTopY='" + leftTopY + '\'' +
                ", rightBtmX='" + rightBtmX + '\'' +
                ", rightBtmY='" + rightBtmY + '\'' +
                ", image='" + image + '\'' +
                ", thumb='" + thumb + '\'' +
                ", appearTime=" + appearTime +
                ", disAppearTime=" + disAppearTime +
                ", markTime=" + markTime +
                ", markDate=" + markDate +
                ", startFrameIndex=" + startFrameIndex +
                ", endFrameIndex=" + endFrameIndex +
                ", frameIndex=" + frameIndex +
                ", pictureWidth=" + pictureWidth +
                ", pictureHeight=" + pictureHeight +
                ", position=" + position +
                ", taskId='" + taskId + '\'' +
                ", taskType='" + taskType + '\'' +
                ", appKey='" + appKey + '\'' +
                ", dataType='" + dataType + '\'' +
                ", objectType='" + objectType + '\'' +
                ", imageId='" + imageId + '\'' +
                '}';
    }
}
